import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '../components/jieguo/index.vue'
// 名品详情
import ProductDetails from '../components/public/product/product_details.vue'
// 积分专区
import IntegralmMain from '../components/public/integral/integralmain.vue'
// 积分详情
import IntegralDetails from '../components/public/integral/integraldetails.vue'
// 精品展示
import BoutiqueMain from '../components/public/Boutique/boutiquemain.vue'
// 精品列表
import BoutiqueDetails from '../components/public/Boutique/boutiquedetails.vue'
// 确定订单
import OrderForm from '../components/public/orderform/index.vue'
// 促销详情
import CuxiaoDetails from '../components/public/cuxiao/details.vue'
// 升级确定
import Cuxiaodetermine from '../components/public/cuxiao/determine.vue'


Vue.use(Router)

export default new Router({
  routes: [
    {
	    path: '/',
	    name: 'HelloWorld',
	    component: HelloWorld
    },
	{
	    path: '/productdetails',
	    name:'productdetails',
	    component: ProductDetails
	},
	{
	    path: '/integralmain',
	    name:'integralmain',
	    component: IntegralmMain
	},
	{
	    path: '/integraldetails',
	    name:'integraldetails',
	    component: IntegralDetails
	},
	{
	    path: '/boutiquemain',
	    name:'boutiquemain',
	    component: BoutiqueMain
	},
	{
	    path: '/boutiquedetails',
	    name:'boutiquedetails',
	    component: BoutiqueDetails
	},
	{
	    path: '/orderform',
	    name:'orderform',
	    component: OrderForm
	},
	{
	    path: '/cuxiaodetails',
	    name:'cuxiaodetails',
	    component: CuxiaoDetails
	},
	{
	    path: '/cuxiaodetermine',
	    name:'cuxiaodetermine',
	    component: Cuxiaodetermine
	}
  ]
})
